-
Notifications
You must be signed in to change notification settings - Fork 5.5k
docs: Update presto.default-namespace description #26625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR refines the documentation for the ’presto.default-namespace’ property in the C++ connector’s Sphinx docs by clarifying its behavior and aligning its description style with other configuration entries. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mbasmanova In Prestissimo, it retrieves all registered functions. And do some filter based on the catalog part of the function names and do further logic based on schema name. Here it takes the assumption that all function are registered with pattern presto/presto-native-execution/presto_cpp/main/functions/FunctionMetadata.cpp Lines 256 to 321 in 9ddd6e7
During parse the function name to get the catalog and schema name. It uses to check the function has 3 part names. @czentgr @amitkdutta Could you help to add more info how above assertion fail can lead to worker node crash? I don't see callstack in #26584. Thanks. |
steveburnett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the documentation!
aditi-pandit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed for content. Sounds good.
f2f4039 to
f9733db
Compare
|
@steveburnet Updated the code, would you have another look, thank you. |
steveburnett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the revision! Just one nit of phrasing.
|
|
||
| The configured value (for example, ``presto.default``) is automatically appended with a | ||
| trailing dot (``.``) to form the complete prefix (``presto.default.``). This results | ||
| in fully qualified function names like ``presto.default.substr`` or ``presto.default.sum``. Note, internal functions (prefixed with ``$internal$``) do not follow this pattern and are exempt from the three-part naming requirement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| in fully qualified function names like ``presto.default.substr`` or ``presto.default.sum``. Note, internal functions (prefixed with ``$internal$``) do not follow this pattern and are exempt from the three-part naming requirement. | |
| in fully qualified function names like ``presto.default.substr`` or ``presto.default.sum``. Internal functions (prefixed with ``$internal$``) do not follow this pattern and are exempt from the three-part naming requirement. |

Description
Motivation and Context
Impact
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.